package com.fs.service.bo.device;

import com.fs.entity.Door;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class BoDoor {
    private int id;
    private String typeId;
    private String deviceId;
    private String name;

    public BoDoor(Door door) {
        id=door.getId();
        typeId=door.getTypeId();
        deviceId=door.getDeviceId();
        name=door.getName();
    }
}
